Fix in-buffer completion when after-change-functions modify the buffer.
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 27 Feb 2010 21:21:43 +0000 (16:21 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 27 Feb 2010 21:21:43 +0000 (16:21 -0500)
commit1a850160783257f6c5a0015e2a8bd2a087704d20
tree94f0c41d658600f1799958ca40b5f9b54fbd8376
parent341115bca1cb41fdd5f663565f375244e550ba97
Fix in-buffer completion when after-change-functions modify the buffer.
* minibuffer.el (completion--replace): New function.
(completion--do-completion): Use it and use relative movement.
lisp/ChangeLog
lisp/minibuffer.el